- if flash[:notice]
  = flash[:notice].html_safe
- else
  %p Our new website is launching soon.
  %p Add your name to the list and you will be the first to know when we are ready.
  = form_for @prelaunch_subscriber, :url => prelaunch_path do |f|
    .field
      = f.text_field :email
      - if @prelaunch_subscriber.errors[:email]
        .form-error= @prelaunch_subscriber.errors[:email].first
    .actions
      = f.submit 'Add me to the list'
